# Begin: Custom macros and commands for all e-mails BEFORE processing log(1,'Begin: Custom macros and commands for all e-mails BEFORE processing'); custom_tag_signed = { if (compare('x-smsign','equal','yes')) { log(1,'Signing requested by Add-In, tag as SIGNED'); rmheader('x-smenc'); tagsubject('[signed OK]'); } if (compare('subject','substitute','@SIGNTEXT@')) { log(1,'Signing requested by subject-tag, tag as SIGNED'); tagsubject('[signed OK]'); } }; log(1,'End: Custom macros and commands for all e-mails BEFORE processing'); # End: Custom macros and commands for all e-mails BEFORE processing